//
//  CityCollectionViewCell.m
//  TravelDiary
//
//  Created by lanou3g on 15/11/13.
//  Copyright © 2015年 YDB MAC. All rights reserved.
//

#import "CityCollectionViewCell.h"
#import <UIImageView+WebCache.h>
@implementation CityCollectionViewCell


- (void)bindModel:(CityCollection *)model{
    self.collectionImageView.layer.masksToBounds = YES;
    self.collectionImageView.layer.cornerRadius = 10;
    
    [self.collectionImageView sd_setImageWithURL:[NSURL URLWithString:model.mudiPic] placeholderImage:nil];
    self.cityNameLabel.text = model.scenicName;
    
}
- (void)awakeFromNib {
    // Initialization code
}

@end
